package com.hu.zhcc.shiro.dao;

import com.hu.zhcc.shiro.entity.bo.TOrder;

import java.util.List;
import java.util.Map;

public interface TOrderMapper {
    int deleteByPrimaryKey(Integer id);

    int insertSelective(TOrder record);

    TOrder selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(TOrder record);

    List<TOrder> selectByPrimaryName(String record);

    TOrder selectId(Integer id);

    List<TOrder> selectByPrimary(String record);

    List<TOrder> select(String record);

    /**
     * 统计已预约人数
     * @param map
     * @return
     */
    List<TOrder> selectNuon1(Map map);

    /**
     * 统计报告已上传
     * @param map
     * @return
     */
    List<TOrder> selectNuon2(Map map);

    TOrder se(TOrder record);

}